package audit

import "counter-help/admin/server/global"

// EducationVerification 学历认证模型
type EducationVerification struct {
	global.GVA_MODEL
	UserID          uint   `json:"userId" form:"userId" gorm:"column:user_id;comment:用户ID;"`
	SchoolName      string `json:"schoolName" form:"schoolName" gorm:"column:school_name;comment:学校名称;size:100;"`
	Degree          string `json:"degree" form:"degree" gorm:"column:degree;comment:学历;size:50;"`
	GraduationDate  string `json:"graduationDate" form:"graduationDate" gorm:"column:graduation_date;comment:毕业时间;"`
	CertificatePath string `json:"certificatePath" form:"certificatePath" gorm:"column:certificate_path;comment:学历证书路径;"`
	IsReviewed      bool   `json:"isReviewed" form:"isReviewed" gorm:"column:is_reviewed;comment:是否审核;default:false"`   // 审核状态
	IsApproved      bool   `json:"isApproved" form:"isApproved" gorm:"column:is_approved;comment:审核通过与否;default:false"` // 审核是否通过
	RejectionReason string `json:"rejectionReason" form:"rejectionReason" gorm:"column:rejection_reason;comment:驳回理由;size:255;"`
}
